﻿using System;
using System.Collections.Generic;
using System.Text;

using libReadWrite;
using libCommonClass;

namespace TTServer.Messages
{
    public class AuthorityResetMessage: TTMessage
    {
        public AuthorityResetMessage()
        { 
            
        }

        public override void ReadMessage(BigEndianReader sr)
        {
            throw new NotImplementedException();
        }

        public override void WriteMessage(BigEndianWriter sw)
        {
            sw.Write((byte) MessageKind.AUTHORITYRESET);
            sw.Write(Global.NO_LENGTH_CODE);
        }

        public override TTMessage Clone()
        {
            return new AuthorityResetMessage();
        }

        public override int GetMessageID()
        {
            return MessageKind.AUTHORITYRESET;
        }

        public override string GetMessageName()
        {
            return "AuthorityReset";
        }
    }
}
